<template>
  <div>
    <ComTable
      :config="config"
      :pagination="{
        total: pageing.total,
        pageNum: pageing.pageNum,
        pageSize: pageing.pageSize,
      }"
      :list="getRechargelisttable"
      :modes="consumptionModes"
    >
    </ComTable>
  </div>
</template>

<script>
import ComTable from "../../../components/comTable.vue";
export default {
  name: "Recharge",
  props:['getRechargelisttable'],
  components: { ComTable },
  data() {
    return {
         // 表格配置
      config: {
        // border: true,
        isAdd: false,
        loading: false,
      },

      //重置详情表格
      consumptionModes: [
          {
          showOverflowTooltip: true,
          width: 100,
          label: "订单号",
          mode: "orderNo",
        },
         {
          width: 100,
          label: "类型",
          mode: "type",
          showOverflowTooltip: true,
        },
         {
          width: 100,
          label: "手机号",
          mode: "phone",
          showOverflowTooltip: true,
        },
        {
          width: 100,
          label: "用户姓名",
          mode: "createdBy",
          showOverflowTooltip: true,
        },
        {
          width: 100,
          label: "金额（元",
          mode: "type",
          showOverflowTooltip: true,
        },
        {
          width: 100,
          label: "问金",
          mode: "amount",
          showOverflowTooltip: true,

        },
        {
          width: 100,
          label: "问金结余",
          mode: "momeny",
          showOverflowTooltip: true,

        },
        {
          width: 100,
          label: "充值时间",
          mode: "createdTime",
          showOverflowTooltip: true,
        },
        {
          width: 100,
          label: "问金到期时间",
          mode: "payTime",
          showOverflowTooltip: true,
        },
      ],
      // 分页参数
      pageing: { pageNum: 1, pageSize: 10,total: 0},

    };
  },
  methods:{

  },
};
</script>

<style>
</style>